﻿using Mysoft.Tasks.Queue.IService.Attributes;
using Mysoft.Tasks.Queue.IService.IEvents;

namespace Mysoft.App.Handles
{

    /// <summary>
    /// 延时队列
    /// </summary>
    [EventBus(Exchange = "RabbitMQ.DelayedEvent", RoutingKey = "RabbitMQ.DelayedEvent")]
    public class DelayedEvent: IEvent
    {
        /// <summary>
        /// 队列内容
        /// </summary>
        public string Body { get; set; }
    }
}
